removed proxy config
added global error handler so app doesn't crash when downloading images/ocr scanning