Misc. changes to generate calib data and display scan data.