It works!

No more frame counting, the animations can now be terminated when they
stop!