Framework for the main menu.
More code.