Code style (whitespaces, quotes, braces)

Mainly fixes whitespacing, quotes and braces.

I hope changes are welcome, otherwise just let me know and I'll update the PR :)