Fixed differences to work around bad data. Fixed pcDiff.

Fixed differences to report -1 when the previous cell had bad data.
Fixed pcDiff to not assume that the first follow-up involved a
programming.