Editing (F4), text viewer plugin bugfixes