Added precompute thumbnails
Added thumb preprocessing