Allow arbitrary offsetting text during recalculation of its bounding boxes, add cli options for that.  When running pdfsed scripts, extend relative image/text file names with the script's path if possible.