maintain sequence order when loading images (issue #25)

This addresses issue #25 by waiting for all images to load before generating the gif.