made MainMenu faster portable