Modified the stop command to move back to delay zero whenever the program is stopped.