Remove need for global CFG object
Make demo a little more interesting
Simplify attach/detach syntax
Make it more clear how to start the game loop
Make Application into the root node