Moving GIF creation to a background worker.