Added debug code for program update
More debug code
Don't tick if at the end of list