editor: remove superfluous waitForReadyRead

We already wait if we fail on the first getChar()-call, so there's
no point in doing this here.
editor: use QByteArray instead of std::string

While we're at it, clean up some cruft.