Minor updates in logging and error handling

git-svn-id: http://gtm-oauth2.googlecode.com/svn/trunk@113 22754eea-fc93-e339-b032-c1f495b90c16