stop makelatex if lockfile is deleted, other minor updates