greatly improved click detection. looking at differences in values and comparing it with threshold instead of baseline.