Use smarter approach to trap premature exit.
Initial support for command-line options. Include -h and -V.