imagebox: Add nil checks to the preload objects.
imagelist: Move cache task deletion out of the task.
imagebox: Check if pixbuf is a AnimatedPixbuf instead of AnimatedGIF.
imagebox: Fix animated pixbuf disposal methods 2 and 3.