No logic changes at all. Source files were reformatted to 4 space indentation, trailing whitespace removed, and otherwise prettied up. Hopefully it is as consistent and readable as possible. Should also conform to most coding standards, for the most part.