Edited coding style

I simply edite the coding style to my liking. I'm the kind of
coder that believes that every '{' doesn't deserve its own line :P
This cleans up the code and makes it more readable for me to add
features in the future.