Fixing deprecation warnings. Adding an additional layer update step on a...

Fixing deprecation warnings. Adding an additional layer update step on animation complete (to address unfinished animation bug).