Replaced Animation Frame and Minor Changes.