Run astyle on the code with some manual fixes here and there