A first try at inline selected boxes

They're pretty bad in many ways; for instance, buttons on the row
containing the search box show up differently than buttons on
different rows (though we probably won't actually be seeing multiple
rows of buttons in a normal case). But this gets the basic idea
across, I think.

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>