Remove unused usings and arguments
Add stats button to end game dialog

Also adds the statistics window to TD.  There is no button for it in
observer mode, though, but it is available from the end game dialog.

Fixes #6312.
Rename widgets
Merge pull request #6397 from obrakmann/cnc-stats

Enable viewing game stats after the game ends