Simple triple and pair sort, and minor code tweaks, in filter_items. Remove /var, and put ttemp filees to /tmp. Ploting graph stats to /tmp/plots.