More improvements to MMLE, Histogram, and other parts