add reactor.jar; fix handleevents