Updated Event and EventDispatcher, added test HTML harness, and updated docs