added text input for main game window