Add debug flags.
Merge timoore/linux-hacks
Fix some unused vars and whitespaces.
Remove some more compilation warnings.
More compiller warnings
Ui warning fix.
Merge with master
Merge pull request #3 from SirAnthony/linux-fixes

Linux fixes