Generate missing thumbnails at startup