Just merging all the layers together.
Tweaked how blankspots are detected
Removed an unnecessary error message
Fixed raster range