Fixed ThreadView crash