improved drawMainMenu-method to avoid redundant data and improve performance