Add a circuit class to simplify passing around module pointers. Also, use observers to notify the different bits of the GUI of changes to the circuit or monitors.