More work on the search form.

I rejiggered the UIElement class to accept another UIElement as the
parent, and then get the container from that.

This will make the UI a little more flexible later, I think.

Anyway, I've almost got it displaying the list of fields, but not quite.