hooked up reset function on 'r' press
cleaned up pan and zoom operations so that they get along with rotation and tilt.