Fixed thumbnailer to release source image memory (massive meory leak).