Merge pull request #7 from sblondon/error_values

Changes to error value handling
Just cleanups to the man page and other small things.