Add code to remove a ZFS FS only after promoting one of its clones.
Implement a stack printing function

And other minor comments and improvements.