qt-clang warning fixes

With QT for Mac up and running, working on the initial warnings and
general code cleanup