fixing up pocket detection, long press l2w, and s2w/dt2w bugs