Added bool return type for handleEvent functions in order to determine if the event has been absorbed and thus to not be passed along