add statistics: toolbar and window