Bug fixes: only run one thread per module. Make sure the init script isn't run more than once.