Merge pull request #317 from bling/master

Optimize startup time by lazy loading vital libraries.