Fixed some error handling; not complete yet: I didn't get error messages to match for duplicate torrents.