trying to fix the flashing thing
reverting the flashing for now, to only keep the new markup
some final cleanup and fixes (expanded to work on click and children to be re-expanded after tag edit)
moved rootcontainer to markup-container file