Syntax cleanup to improve code readability. I have only changed syntax such as tabs, new spaces and added spaces before some "{" that missed spaces.