statistic window added. minor bugs fixed.