Fixed notification handling for MWI settings

Ignore-this: 7a3a93d0bffc63869df7b09e9e069895

darcs-hash:20100831124643-56b4d-68fff065ceebc57e874135494df72128e610dc0b
Improved unicode support of XML payloads

Ignore-this: 83e15a5771e21496efbbdf8ef62beaa0

darcs-hash:20100804104359-1e3d8-cffd7f19d7bf9c9eb3d5cdcda44c151df4c4a901