Small fixes

One small dbg info fix, and one more critical which causes problems if a shorter payload is received after a longer payload. Since the QBuffers underlying QByteArray is not cleared by QBuffer::reset() the shorter payload will contain data from the previous.