added action listener for main menu and exit for if in game, confirm forfeit