Made lots of windows stay on top of the main window.
Fixed a bug with the close menu item and the terminal window being open.