Optimized and reformatted code.  Added more information to log messages.  Handle non-blast-email events more effectively.