I’ve added support for multithreading execution of script events. Only one object will be processed at the time. This will benefit from MultiCore CPU’s. Though it makes each call more expensive because we have to keep track of mutexed objects.
Also added caching of event binding (function call) so we only use Reflection on first execution of a given event within a given state.
Changed sleep time of inactive threads from 200ms to 50ms, so they are more responsive.