Minor cleanups

BEViewer failed if installed to a nonstandard location, with a symlink placed in the $PATH. I hope readlink -f is compatible, works on Ubuntu. Chose "readlink -f" over "realpath" based on availability.

Also caught a couple of spelling mistakes.