Added error check to MainMenu and started switch statement for navigation