Rename DomBackend to DOMBackend in ui

Also group the Events backend functions together
Clean up event handlers on DomRange removal

No unit tests, but confirmed on an example.  Existing tests pass.