Removed the extra space before "-auth" in the regexp for FindDisplay, which was causing the sed command to fail.  That failure then made xa null and that made line 305 \" if [ -f $xa -a -r $xa ]; then \" choke, giving this message:

/tmp/fd.4zomKO: 305: [: -a: unexpected operator