added check for tp_smapi and gnuplot added 3rd line for average in gnuplot graph plus some other small updates
added check for tp_smapi and gnuplot
added 3rd line for average in gnuplot graph
plus some other small updates

mikar/thinkwatt