Fix whitespace and formatting

- Replace out of place 2-space, 4-space and 3-space indentation
  with tabs for uniformity. If you'd like something different, let  
  me know and I'll patch it to that using expand.
- Utilize indentation within preprocessor if statements. It was  
  already partially done, but I completed it, making it easier to
  read.
- Maintain space-based formatting where it made sense. Some places
  had formatting for readability. I made sure that these were up
  to date and would look good with tabs.