Added morphological operators to ```RadioMask```; first attempt at logging

Added in inversion, erosion, dilation, opening, closing.
I've added some basic logging capabilities as well. It likely needs some tweaking yet, but let me know what you guys think.