wrote Utility method for getting queries, began plugging in UI changes. ...

...THIS IS A BREAKING COMMIT