Fix a bunch of bugs with how events are counted, as they shouldn't be immediately removed, they should be removed once the event is finished running. Add a check on how many times we are running through sleeping scripts so that we don't run into infinite loops. Don't immediately start sleeping more when all the events are gone, give it a few iterations before sleeping more, as events could be trigged by the last event we fired. Add more debugging code for future trips down into the base of the MaintenanceThread. Turn off my killer loop that would do extreme fast event processing.... for now.
Fix a bunch of bugs with how events are counted, as they shouldn't be immediately removed, they should be removed once the event is finished running. Add a check on how many times we are running through sleeping scripts so that we don't run into infinite loops. Don't immediately start sleeping more when all the events are gone, give it a few iterations before sleeping more, as events could be trigged by the last event we fired. Add more debugging code for future trips down into the base of the MaintenanceThread. Turn off my killer loop that would do extreme fast event processing.... for now.

TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim,TechplexEngineer/Aurora-Sim