Added a comment and removed initializeGlobalVariables from MainMenu as it was unused.