I ran your script and had it print out the current time whenever a movement transition was made and I got the following output:
Code:
Movement Transition Made 3.42844253975e-006
Movement Transition Made 63.9694971806
Movement Transition Made 125.937294339
Movement Transition Made 186.970923251
Movement Transition Made 247.520842059
I'm getting about 2 seconds of error per transition. I'm not sure why you are getting such large timing errors. What are the specs on your computer? (processor speed, RAM, graphics card)