small comments and error messages corrections
Merge pull request #1 from xorpaul/msg_text

small comments and error messages corrections