Pressure and palm detection
Fix memory leak