b3da34a186
Using one index was causing the end of gifs to be cut off if the number of frames wasn't a multiple of the preload size. This creates a second index to track the preload position and the display frame position.