Implemented setter proxy, added wrapper for DocumentType, a few more tweaks and now most of level1 dom-ts is passing, with the remaining failures due to htmlparser being html5 and not dealing with doctypes, and the reamining due to the fact that xerces dom is ... different I guess. Fuck I hate w3c.