Prevent crash when run offline

Also should prevent a crash when google's servers can't be reached.  Request was being created without an error handler for login.
JSHint
Merge remote-tracking branch 'mako-taco/patch-1'
Subscribe to error event before request write
Bump version