Implement a statistics HTTP server

This might be longer than 80 characters.  Many lines in this change are definitely greater than 80 characters - which is our hard limit!

I didn't make this decision but I approve of a fixed limit - if you are going to have a lot of windows on the screen at once, you don't want them to be both tall and wide.  Narrow works for me, as long as they're all the same.