shell: Hide "Close Project" menu item unless debug mode is active.