Correct misspellings in comments and output of msm