'Append new text and scroll output to bottom.
We can\'t use Qt\'s way to append stuff because that inserts weird
newlines.'

def append_text(self, text):

    self.moveCursor(QTextCursor.End)
    self.insertPlainText(text)
    scrollbar = self.verticalScrollBar()
    scrollbar.setValue(scrollbar.maximum())
