Remove useless lines and fix formatting issues.
Fix formatting in Main.cpp.
Run astyle on some source files.