added a semi colon.  moved the var out.
shaved a line
removed 'pause gesture' which causes all gestures to be computed
shaved a few more lines
renamed msgTO to save space
renamed prevGesture to save space
got rid of drawCircle to save space