Fix for closing documents in a tabbed MultiDocumentPanel.
Fix for OSX native recent files menu.