AudioProcessorGraph Clicking

Hi all,
I’m using an AudioProcessorGraph to create a plug-in in which you can create networks of other plug-ins. A problem that I’m having, however, is that when you edit the graph while the signal is running, you get all these clicks through the speakers. Does anyone have an idea on how to fix this?

A second problem that someone might be able to help me with is the problem of the left channel being connected by default on mac, even though the AudioProcessorGraph does not contain any connections yet. Once you edit anything in the plug-in graph, this problem stops. It only occurs on Mac as far as I have tested it.

If anyone has an idea, even when it’s not a direct solution, please let me know!