StatisticsWindow: write settings in the destructor.
StatisticsWindow: write settings in the destructor.

close() is not called when using as a widget.

rug-compling/dact,evdmade01/dact,evdmade01/dact,evdmade01/dact,rug-compling/dact