CHG: the ThumbnailCache class has been refactored, the thread has now
its own class.public