Add Event Instance support to map editor. (partial) #111