(De)activation is not working in ReactiveWindowControler

We now listen for window is closing notifications and triggering deactivation.
That is what I was thinking too. But it seems you can register for notifications from the current window according to the docs. https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Notifications/Articles/Registering.html