From personal experiance, I think the brown muck as to do with too much voltage between the electrodes, if the voltage is kept under 3 volts, the brown muck does not form, and it also as to do with the amount of bleach tap water has.
I did some tests using tap water, adding koh running a tube at 3 volts 9 AMPS, and no brown muck is formed.