First working implementation of a two-tab editor with preview

* preview on second tab
* auto-hide/show of tabs
* use pagedown converter and sanitizer