more error reporting
Merge pull request #23 from mafintosh/master

more error reporting