revised locking in Animation/AnimationSet.cs