- setup all hooks in filter_stub
- do not register as queries hooks that do not expect replies
remove qid from dispatchers
distinguish between hooks and query
remove debug traces
remove unused function