Fixed some warnings, disabled some minor warnings in Qt