Bugfixes

Thanks for this module. I found a few little bugs mainly having to do with wanting to set the number of retries at 0. A couple other very minor cleanups -- including a code comment edit because I got a little confused at that spot while trying to debug the actual bugs. :smile: