Properly handle exceptions other than a non-zero return code for slicing and timelapse rendering

Closes #508