Rewrite GameConsole and SceneConsole.

[ENH] Rewrite GameConsole and SceneConsole and make them work.