Optimized CopyOnNotifyObserverSet and CopyOnWriteObserverSet
Restored old AtomicBoolean behaviour and fixed failing tests