More work with menu. Added InputHandler.