Store a bitmap of active hooks on the client side to try to avoid
server calls for hooks that are not set.

9 files changed