Fixed small bug. Cannot use qDebug before core app is executed