refinements to query history ui