* mmsh: a little clean, and fixed 1/2 potential segfaults.