SRC: Stages -> StateMachine, untested.
SRC: Fix the color deletion.

It used to delete 3 or 4 blocks depending on the geometry of the
blocks.