Cleaned up a few things, like 2 spaces for tabs, spaces instead of tabs, and misc code snippet changes.