Set "pageModified" handler and clear URL bar icon when fired

Not sure how this ever worked when #5 was being tested (though I'm fairly sure it did). Nonetheless, this fixes monitorDOMChanges in Chrome and should fix it in Safari, though I don't have v6.0+ to test on.