Turn if statement into early return
Events are now a specific object instead of a string
All events are now handled on the main thread negating the need for UITask
All forwarding of events must now be done manually in the wrapping task (this is still a work in progress)
Changed event strings to event type strings