newGUI: review should work.

lib: several fixes and additions in statistics
newGUI: update