Thank you, the switch works as expected now! :-D
I'm still not quite happy with the circuit network stuff, though, it looks a bit raw. But this thread isn't the right place for that topic, and I'll need some time to really think about the matter.
By the way, would you consider announcing your mods in an "official" thread on the forum? I think I'm not the only one who looks for "New Posts", so your mods would get a lot more exposure. Also, the forum provides better formatting options (the mark-up used on the mod portal always distorts code snippets from log files when I want to post bug reports) and also allows for attaching files, so I at least feel more comfortable posting there. :-)