Added pubsub / win event integration into the client.