Refactor TemplateEditor

So view gets re-used and not disposed. Better for memory and no visual flickering between templates. Side note, can't wait for HTMLBars...