vjr text editor development, refactoring, incomplete