fix universal build
IS IT CORRECT? use mipmaplevel=0 if renderFullScaleThenDownscale
packageOSX: add CImg
Fix mipmaplevel issues in render window, also make sure that halveImage
doesn’t read out of src image bounds