cleanup edit mode code, use TextEditor instead
Merge branch 'dev' of github.com:lintubongarit/sulka into dev