Correct race condition

When the plugin is started in disabled mode,
The allowpyro, and allowengineer functions are not correctly initialized.

Corrected by using function local variables.