Changed output; some simple refactoring.
Use optparse for 2.6 compatibility.

Initial implementation of command-line argument parsing used the
argparse module, which was not introduced until 2.7.  The benefits of
argparse do not affect TINA, and we're trying to maintain 2.6
compatibility.