Added debugging for L-Mine issue, Fixed reset functionality