Closes the current main window, including all sub-windows. In SDI mode this is the same as the command close().
close()