Performance improvements and Logging fixes
- Various performance improvements - changing stacktrace calls, simplification of calls
- Fixes to logging from child models.
- Added assertion to test logging string
- Various code cleanups.
Thanks to @staudenmeir and @mikemand for their contributions to this release!