Updated halftone module to get the correct sum at the correct times.
Questions about newFrame signals in the code comments.