BUGFIX: animInfo.end was being assigned even if animInfo was invalid.
Tweaks to AudioContext