Fixed MM algorithm display bug, & misc small tidying.