fix 2 warnings reg. unused parameter, remove 2 qDebug calls and fix a bogus comment