in src/gui.js [115:118]
function switchLayer(index, on) { if (on) funcs.turnOn(index); else funcs.turnOff(index); }