Moves error messages to sys.stderr
Merge pull request #139 from larssono/master

Moves error messages to sys.stderr