DeadlockDetect is configurable now.

This is needed when debugging Lua plugins.