fixing warnings
fixing static analyzer errors
Errors by reference

As a caller of this method in the parent app, I would like to inspect the error in more detail.
Merge branch 'errorsByReference' into joe/master
Merge branch 'warningsAndStaticAnalyzerFixes' into joe/master