Update dependencies and fix bugs

Update the dependencies as the original set was no longer fully available.

Fix a bug in the code sending the crash notification email.