Added synchronization on all calls to mChildren and mPlugins.

Signed-off-by: Jared Woolston <jwoolston@tenkiv.com>