Catch KeyboardInterrupt exceptions. Fix bug where output_data was begin set before final hashstring adjustment by node.