Ensure streams are closed and use utf8 encoding.
utf8 encoding, replace unix newlines for system-dependent newlines, add Serializable to comparator, and avoid Long/Short
constructor use when we have a primitive already.
UTF8, entrySet instead of keySet and removal of an unnecessary static var.
Remove System.exit's from AdminUtil and lift them to the Admin class with the main method. Add UTF8 charset to AdminUtil
where necessary.
UTF8, unnecessary object creation (String, Boolean)