Fix bug that makes bevel and flatten skip digging up if nothing forward
Safer digging, accept console arguments
Fix calling wrong function