now including changes for inline objects (but it's copying the "header" line)

this includes a change to remove the "copy-id" elements and instead create an in memory "object" map called pristineObjects

this way the html dom will remain intact with every id showing up only once (this was causing big problems)