Text viewer, plugin engine bugfix