Renamed some setup functions.
Changed multi row comment to avoid a compiler warning.
New functions to read touch data, do calibration, wait for touch events and some cleanup.