public void quitIfNoSignificantWindowsOpen() {
		if (mAllowQuitIfNoSignificantWindowsOpen) {
			for (Frame frame : Frame.getFrames()) {
				if (frame.isShowing()) {
					if (frame instanceof SignificantFrame || BaseWindow.hasOwnedWindowsShowing(frame)) {
						return;
					}
				}
			}
			mAllowQuitIfNoSignificantWindowsOpen = false;
			if (closeFrames(false)) {
				saveState();
				System.exit(0);
			}
			mAllowQuitIfNoSignificantWindowsOpen = true;
		}
	}