Added a low pass filter to test touch stability: when difference between sample and filtered sample is under a threshold, the touch is considered stable.
This works well to remove bounce and jitter.