Various bugfixes with broad mining tools and config additions