Added scroll position persistence for query editor.
Input field was changed from QTextEdit to QPlainTextEdit.