Removed some duplicate elements, fixed some element names, added missing
and non-standard elements.
Added some missing events, non-standard events, and Mozilla XUL events
that are "never exposed to content" (under normal conditions?).