fixed issues with text viewer for rar-packed files
fixed texteditor undo/redo issues