make EMWH event emitter. Add 'ActiveWindowChange' event