Various findbug fixes - unclosed file handles, unwise usage of System.exit(), comparables with behavior that does not match equals(), various other tweaks.