Added dumping of point coordinates and stack0 for debug
Added test for stacking part ; a little cleanup
Added dynamic upload of data points

Note that stacking does not work yet, because the previsous stage
(point stacking) treats the same data packets multiple times. Needs
debugging !!