(1) small bug-fixes for more stable recovering from errors
(2) adds options "send_emergency_emails" which regulate sending emails
for "emergency situations" and "packet recovery errors"
Merge branch 'master' of github.com:heni/rem