Various tweaks combing mods by Xon, MrFactorio, Quezler and The-Noble. Plus a few more tweaks I made myself.
If you have the area mining drill disabled in the mod settings, this mod will throw an area about area mining drill being nil. Could you add a check to see if the item exists into your code to prevent this? if item ~= nil then {do stuff} end
Uploaded new version that should work without the Big Mining Drill.