Develop game panel and start filtering controls.

Things are a bit of a mess now. See web/js/index.js for some
breadcrumbs.

The JS stuff isn't organized into proper modules yet. index.js is a
terrible name.