significantly clean up DomEvent.Pointer code