Bug fixes:
-The concurrency examples in the documentation showing lock(this) were wrong and would not prevent data from being written to by multiple threads at once during simulation.
-Added a new static property named GlobalLock on every script object that can be used to ensure safe reads and writes across threads by using lock(GlobalLock) instead. The documentation has been updated to reflect this.