cleanups to event.Event and event.KeyedEvent
some work on host program for dns lookups