main menu flat UI and bug fixes