Changed error handling, and changed check_donations to not only read unread messages