Adedd throwoutend event. Increased setRestSpeedThreshold and setRestDisplacementThreshold.