Minor improvements to timelapse.sh.