Major refactoring of main menu logic. New MainMenuItem class etc.