Splitting from refactor to per-Document
Closing web replay-related bugs until we resume working on the feature again.
Mass move bugs into the DOM component.