multiple fixes to add a watchdog on the imap thread, handle various race conditions and exceptions; logging
don't tie to a specific ruby version.  Current version (448) works just fine.