changed eventhandlers to generic events to prevent runtime casting errors
Use IEventDispatcher Instead of EventDispatcher
Merge pull request #40 from openvv/generic_event_type2

changed eventhandlers to generic events to prevent runtime casting error...