Added checksums on the input and output of the circ buff. There is still a problem with reading from the circ buff.