Fix style indentation, spelling errors and syntax errors.