Fix and improve stats page