         [:p "pivotnames: " (str pivotnames)]
         [:p "heads: " (str heads)]
         [:p "headvec: " (str headvec)]
-        ;;[:p "prows: "  (str prows) [:pre prows]]
-        ;;[:p "pcells: " (println (str pcells)) [:pre pcells]]
+        [:p "prows: "  (str prows) [:pre prows]]
+        [:p "pcells: " (println (str pcells)) [:pre pcells]]
         [:p "pivot-map: " [:pre pivot-map]]
-        ;;[:p "newpdgms: " [:pre newpdgms]]
+        [:p "newpdgms: " [:pre newpdgms]]
+        [:p "newpdgms: " (str newpdgms)]
         [:p "pvalvec: " (str pvalvec)]
         [:p "pdgmstr2: " [:pre pdgmstr2]]
-        ;;[:p "vvec: " [:pre vvec]]
-        ;;[:p "vvec: " (str vvec)]
-        ;;[:p "pmapvec: " [:pre pmapvec]]
-        ;;[:p "prmaps: " [:pre prmaps]]
+        ;;[:p "vvec: " [:pre vvec]] ;;!!raises "not valid element" exception
+        ;;[:p "vvec: " (str vvec)] ;; "not valid el." excp. with "!" in text
+        [:p "pmapvec: " [:pre pmapvec]]
+        [:p "pmapvec: " (str pmapvec)]
+        [:p "prmaps: " [:pre prmaps]]
         [:p "pmaps: " [:pre pmaps]]
-        ;;[:p "keylists: " [:pre keylists]]
-        ;;[:p "keystring: " [:pre keystring]]
+        [:p "keylists: " (str keylists)]
+        [:p "keystring: " [:pre keystring]]
+        [:p "keyvec: " [:pre keyvec]]
+        [:p "keyvec: " (str keyvec)]
         [:p "keyset: " [:pre keyset]]
         [:p "==========================="]]
       [:script {:src "js/goog/base.js" :type "text/javascript"}]

                (for [npg npgs]
                  [:td npg])
                (for [pmap pmaps]
               [:td (kstrkey pmap)])])]) ]]
      [:p " "]
      [:p " "]
       [:div [:h4 "======= Debug Info: ======="]

            pbody2 (clojure.string/replace pbody1 #" " "_")
            ]
        ;; add pdgm name to each row of pbody as first value
        (clojure.string/replace pbody2 #"\r\n(\S)" (str "\r\n" pnum  ",$1"))))))

(defn csv2pdgm
"Takes sorted n-col csv list with vectors of pnames and headers, and outputs n+1-col html table with first col for pname ref; cols are draggable and sortable."
