small changes for the demo
made some small touch-drawing-related api additions