Merge pull request #442 from Glitchfinder/master

Updating permissions to be more consistent.
Merge pull request #443 from Glitchfinder/master

Merge conflicts are fun.
Merge pull request #446 from Glitchfinder/master

Shutting down more concurrency errors.
Remove unused import.
More work on Mining restructuring.
Removed some unnecessary casting.
Made the casting a little less complex.

No need to cast them BOTH to a double, only one is needed.
Only call for an instance of Config once.
Fixing yet another concurrency error.