No more warnings!

Now we can compile without suffering through a million warnings. Also,
I changed some indentation. Sorry, everyone. Last, I added and changed
some comments.