Integrate debug mechanism
Integrate debug mechanism

Add command-line options for adjusting logging verbosity.  Specifying
-v increases verbosity by one level, -q silences all logging.

crorvick/watermark,crorvick/watermark