check event type when processing event

also moved runway management to separate method that takes in an event
object and currSimTime