added guide to HTML viewing.  fixed minor bugs