More cleaning up and added the ability to render DOMString via renderDom instead of String.