Preview mode

This replicates Sublime Text's semi-transient editor.  It the user enables Preview Mode in settings (disabled by default) they can then quickly open files with a new open closing the last one unless they edit or save the file.  Then the editor leaves preview mode and is permeant in the workspace until the user closes the tab.  Please let me know anything I'm missing.