added a new hook to be able to modify the query object
now we're able to prepend listeners instead of append
first step to implement #88

We implemented hiding of threads when they're marked as hidden, but we
did not yet implement the hiding itself