Clip state/province image file to country

Speed improvement, reduces processing of large global lights raster file
Optimize code speed, toggle EDM generator