Add a rudimentary main menu

For now you can only switch to the game mode or exit.