Stop advancing sequence after it is cancelled
Control updates

Added control.Bind for auto-updating one variable based on an
expression.
Updated control.StateMonitor to add option for running a sequence when
the condition becomes OK again.
Add processing function parameter.
Generate get_centroids function