Prehooks the thumbnailer onto emitGif if createThumbnails is true

Prehooks the thumbnailer onto emitGif if createThumbnails is true
Added the necessary config options for the thumbnailer