HTMLDocument 'write' method bug fix
W3C DOM HTMLElement `setInnerHTML' bug fix
W3C DOM Node `ownerDocument' attribute fix
More graceful event handlers error handling