Delete endcolor parameter. Change startcolor to color.
Add notes doc to log clues.
Some notes and a comment marking the problem statement. Increase delay to .5 secto isolate the area of most change.