A rough and ready port of hgview.

Will polish up after release.