Fix lack of rollback and potential race condition between threads
when aborting a search.
Switch back from QPlainTextEdit to QTextEdit to support word wrapping
at a fixed column position.