Mining tweaks, removal of debug/cruft, balancing of values.
Update distribution.dm
Merge pull request #5357 from Zuhayr/dev

Mining tweaks, removal of debug/cruft, balancing of values.