minor typos/spelling/corrections

minor typo/spellings/semantics correction on err and debug msgs
Merge pull request #7 from sandfox/patch-1

minor typos/spelling/corrections