add minimal comments
remove some dead code
  leave "view by category support" in place but not user visible