Got rid of an error where the program would crash if you clicked more times than you had transitions