Common tools for the PubSearch GUI.