Fixed NPE when closing just after starting, less unnecessary verbosity, better handling of auth errors