queries can construct/describe (no select for now)
now with SELECT queries
queries can be registered and unregistered
query (un)registration now visible to frontend, and more test goodness.