cleanup #include statements in mainForm.h and related files
add QT3_SUPPORT_WARNINGS flag as well as needed libraries
cleanup #includes