Added startframe and endframe to animations. These are (0,1) and allow partial animation. Added frame_to() method for elements to display a specific frame of the animation.