Add minor changes/comments to IM.hs