gui: Support Ctrl+W to close windows and add File|Close to menus.