Properly load modules in the background process.
Merge pull request #84 from Impromptu/background-loading

Properly load modules in the background process.