Added a couple of Read/Write Locks. Deadlockbug seems to be fixed, did run Simulation with 27 ticks without an error