finished implementing the 'setDom' method.

Before it failed to swap the old and the new nodes,
if the new one was already insterted within another DOM.

Now it does.