added animation lock to stop hanging animation

#130 when the animation was cut short (by a scare) it would stay locked
and no new animations could start