Misc fixes

*Removed all whitespaces
*All parentheses spacing is now identical
*Removed all line ending semicolons
*Fixed some function spacing