Added logging.  Also added check for silent kill.