moved more to library
moved compress.c to library
SynCount() now static