Code style
Wrong language error check

Spaces in control statements mostly.