Added more ways of closing documents

Added more ways of closing documents:
* Menu: File->Close
* Shortcut: ctrl+w
* Mouse: Click on the tab with middle mouse button
* Menu: File->Close All for closing all documents.