Fix session monitoring when more than one event is being listened to.
Improve web output support.
Add missing weboutput.js.