cope with new patchqueue arrangements
use absolute paths in lndir for now since it avoids figuring out the directory from which lndir is running
fix typos
avoid bogus directory levels