Make compatible with bash; general cleanup

Now works with either sh or bash shell. Lots of quote marks and
prettier comments. Changed man page and -V option to avoid confusion.
Resolving conflicts