Changed main menu code to mirror dales code