Make errmsg private.
Naming
Prevent leaks on multiple SetErrorMessage
Merge pull request #98 from rvagg/errmsg

Make errmsg private.