Made harvest gather stage more robust against errors. Improved logging.