To close a document, choose FileClose.
If the window is the last  window open, the application exits.
To quit  at any time, no matter how many windows are open, choose FileQuit. When you quit,  closes all documents opened in the current session.
