Removed unused constants.

DeadlockDetect reads the value from the ini file, and world lighting has a separate queue now.