vjr text editor development, refactoring, primitive functionality