Cleaned up MaterialPackageWrangler._make_main_menu().