Some more work on the game engine.