Empty statements were causing the incorrect indent to be calculated
Special cases for classes with braces on the same line
Fixed handling of internal error codes
Don't generate diffs if the file could not be fully fixed, and don't attempt to generate a diff if no fixes were ever made.