Simplify panel handling in the application window. Create the game state in the application window instead of the menu panel.