Fixed problem where max depth would wig out and go into the thousands.
Merge branch 'master' of https://github.com/asfrab/Hugger-Mugger.git