made error handling more verbose, fixed bug in request token parsing, minor gui changes