Lock free management of active signals

@kastiglione's work. #702 redux.

This is meant to be merged into #699.