powersaving by skipping animations

skipping animations if nothing changed since last animation

Fixed some missing semicolons