added synchronizing for concurrent needs accesses
added synchronizing for units listeners
agents collection synchronizing
added synchronizing on agents iterating from brain