ENH: Query/result widget is nearly complete

Probably just needs some minor bug checking and better documentation