Fix throwing prediction

StopThrowEvent is now a record struct and ByRefEvent