Added ball scan segafault printouts