added a processing queue for thumbnails and video transcoding, added file caching