Add a mutex around the listeners map
Inline setup function into constructor.
Flip inTemporaryChild variable to be inParent