I think the imperative examples in the documentation are not in the spirit of the library. I would be better to use class based example with custom sprites, custom stages and a custom window.
For this to work we have to rewrite all examples and put each one into a seperate folder.