Broken `window.remove` implementation has been removed. Needs to be properly re-implemented. This is mostly to save on memory usage when the HTML producer is empty and the user doesn't clear it and not leave stuff hanging in DIAG.