Added minimal support for window events.
Subscription can now be started as daemon threads