base: fix thread_cap initialization

Fixes #842
base: fix pausing tracing subjects

Fixes #858.