Cleaned up StylesheetWrangler._make_main_menu().