replaces divs for the toolbox with iframe alternatives
sorts conflicts to do with iframes