Ya, I did start with a state machine in the original, just cut, cut, cut in this... I'm trying to minimize dependencies and footprint.