Re-working some code to fix the idle timing and blinking during routine
transitions.