Better error message stacks
Merge pull request #244 from ModuleLoader/error-fixes

Better error message stacks