TABS!!!!!! THERE WERE TABS!!!!!  DIE EVIL TABS!!!!!

*cough*

I fixed some minor errors too.