Better error handling for capture issues during timelapsing

Should help debugging issue #425 and any future problems in that area.