Review fixes: qWarning -> qDebug and inline read/write methods