[LiveHTML] Fix console spam

Filter edits before console.warn. Remove onChange event handler when the document is closed.