Failed Download Handling

Failed Download Handling to Pistachitos branch, per your request.  I was going to add one more feature, but decided to just get this out there (hence the two commits).  The commented TODO needs a menu item and a setting to enable/disable it for the folks that don't want to use it.  However, the code works as is.