Added the calibrator and mouseListener functions. Have to plug it in with the file handling code to finish it off.