better handling of missing thread
fail more gracefully if the composite image generation died in the middle (#179)