This PR fixes some typos and polishes trivial stuff.

Comment From: snicoll

Thanks again. I should configure indent for Gradle builds! :)