chg: added command line client.

* improved handling of modified HTML files.