Fixed basic Qt5.1 compile problems.
Consolidated whitespaces. Tabs are now 4 spaces.