Merge pull request #3 from RWJMurphy/master

Linux-style return codes