Modified the quest event handling a bit