added huge try/catch to handle server errors re #112