improved logging
ignore exception when quiting the browser (the connection may have timed
out)