makes res-to-ref a big textarea, crudely; result is unstyled
makes small change to queries.sql
adds selectable class to a few elements
wires up modal dialog to edit lead_in
wires up kicker_edit; populates the form's textarea with text from

the corresponding area