updated for sdk 2.0.1+15831, tested with p5 2.2.1, added gesture/frame fix