PR for issue 145

fixes #145

This addresses some of the issues outlined in issue #145 as well as a number of other improvements around solving order of execution issues when loading vendor libs and offline vendor lib fallback logic.

NOTE!!!
Very important to base all future branches off of this version of master once merged or future merging of pull requests will probably be a nightmare and end up trampling some of these improvements.