textdoc: update, cleanup and document

* moved from QTextEdit to QPlainTextEdit, better for plain text
* moded from  Q3Textstream to QTextStream
* added doxygen documentation
* highlight current line