stats in mainwindow

Signed-off-by: Daniel A. Zorin <juan@lvk.cs.msu.su>
resourc format

Signed-off-by: Daniel A. Zorin <juan@lvk.cs.msu.su>