Bug fix & Update example

Fix putPixel/getPixel. Add examples for callback functions.