Cleaning and translating the code.

This is the first wave of translation I am making for the bits of comments and docs in the code. I also fixed some indentation issues and I plan on making it consistent throughout the code without breaking your coding habits too much.