add main gamestate
fix up io but for easy realtime debugging
integrate help state as a push/pop