Fix some error handling and tracing issues

Fix #1315
Fix #1314
Fix #1318
ex.ToString() might better ex.Message.   Often times, ex.Message is not very useful.