Autodig fixed, digging improved, and comments added...

Some time later...

closes #21
closes #20