convert gifCreator into a Qthread, so the mainthread won't be blocked when creating a gif;