fixed type of lastStateChange to account for problems interacting with millis()
mPot now controls retraction time for the main cylinder. mainBounce and mainTiming are modified accordingly.