Added threat dispatch and errors on module cfg