Improve histograms and costs
Add moment (maxinfo becomes mode) to histograms, another way to compare
Improve cost models
Histograms are now obsolete, improve manual search
Make mapForPattern public
Refactor Patterns a bit
Try to salvage erroneous/ugly name handling in Guided Match split
Don't import Strings without reason