DOM insertion factory restored (again). This is way too friggin complicated for rational use cases. But once it works--who will ever need to touch it ever again, ever, ever into the transparent window that is the future?