Fixes FrameTag to handle multiple frames on a page.
Adds InsertionMode to FrameTag so caller can choose to append to, prepend to, or replace the existing content.