Refactoring + first version of editor
Fix cursor pos after insert text. Fix form and remove workaround