Fix java 6 incompatiblity.
Cleanup project warnrings, Unused imports, fields, and missing serialize ids.