Improve UpdateWindows method:
Improve UpdateWindows method:

 * Apparently calling std::map::insert for an already existing key,
   does not overwrite the existing value. So now we call erase before
   inserting.

 * When two windows with the same name switches, send an update for
   all the children of the new window to make sure that the client
   knows everything about the new window.

micronpn/sequanto-automation,seqzap/sequanto-automation,micronpn/sequanto-automation,seqzap/sequanto-automation,micronpn/sequanto-automation,rasmus-toftdahl-olesen/sequanto-automation,seqzap/sequanto-automation,rasmus-toftdahl-olesen/sequanto-automation,rasmus-toftdahl-olesen/sequanto-automation,seqzap/sequanto-automation,seqzap/sequanto-automation,micronpn/sequanto-automation,micronpn/sequanto-automation,rasmus-toftdahl-olesen/sequanto-automation,rasmus-toftdahl-olesen/sequanto-automation