checkstyle cleanup and formatting

Cleaned up lines longer than 140 chars, curly braces on new lines, resource cleanup, etc. Also turned off the CS translation check.