Make threaddump thread a daemon
Port per-channel command prefixes to refresh
Upstream merge