fixed notification errors for unset index variables
fixes for fct; cleanup
fixes for fet, fct and pie charts
merged all stats versions
new code for stats generation
Moving the php stats code to the new dnet40 branch