Added the ability to close editor tabs, closes #24