Fixes

these fixes incorporate smschauhan's user agent fix as well as a missing create.gist parameter and another improved error message. (plus a fixed typo.)