Add stats page and fix front end bugs.