Rename the fig_image type to fig_animation, and replace references to image with animation (frame will become image soon, and the disposal/rendering stuff will be moved around to only happen in the GIF loader)