Only map menubar toggling if gui_running.
Only map menubar toggling if gui_running.