Precursor to the main menu