Better encapsulation of circuit init; Fix clearOutputs bug.