cleanup unitsync.h
more cleanup
unused code--