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