Adding first pass at hacky GIF export feature, and supporting next/prev image navigation for preparing GIF export.