Only close workspace if all panes are empty

Before this change, closing the last file in pane A will close the workspace even if a split pane (Pane B) still had open files.
Merge pull request #1 from jtokoph/only-close-if-all-panes-empty

Only close workspace if all panes are empty