Fix sub-image extraction (was ignoring left edge)
Add a CALIBRATING state (does nothing so far)
Run calibration sequence on second exposure