build main menu in code (as opposed to defined in resources)