Computation/graphics tie fixed

Computation was tied to graphics, so that some lines of the scan could
be missed. This will not happen now.