Changed qDebugs for calls to debugMsg, debugWarning and debugError