Propogate service-changed event to cut producer's parent.

Patch by Steinar Gunderson.
Add thread locks around accessing GlslManager resources.