Fixed the way that the pixel counting was being done. Hid the counters and debug images.