> doing DOM and innerHTML manipulation when we don't need.

Fair enough, but the innerHTML manip is happening off-document

> I'd like to finish my other patch today but I may have time at the end of this day to have a deeper look here.

Sure thing, ping me when ready