Uncommented out main menu function.