Added debug printout when end states timer triggers.