focus the search field on open (and add some belt-and-braces scoping to references to the id_q field)