-* replaceChild on document root should work, but it is implemented as
- an insertBefore + removeChild, and the insertBefore is not allowed
- for the document must have xactly _one_ child
-* the code to dispatch the events is wrong, because it stores
- xmlNodes and not gdome wrappers, hence the nodes can be deleted
-* when firing events, self is not always reffed, what is the reason for
- doing it?
-* DOMSubtreeModified must have bubble=yes
-* when setting more event listeners for the same node, with same type
- and same useCapture, the event listener also matters. It seems like
- now one can set only one event per combination type/capture
* /usr/lib is given by gdome-config
* should optimize event propagation, remember only those nodes with
listeners