Cleaned up code using astyle.
Wow!