TextBrowser: make sure to deref the document on destruction
TextDocument: disable undo/redo
Unseen marker