Added ThumbnailManager to cache thumnbails.