add some documentation to the google image search sample. clean up the code.