Update make_thumbnails to use logging and outdir,size options better