Added the ability to specify the grid type to use for Distance based Dilation and Erosion.
Merge remote-tracking branch 'origin/master'
Set debug to false.