even more details on "stat" page, fixed some code and merged some checks for cleaner view, minimized code a little.