Wired up the master switch event to a channel - first experiment with channels...
Moved sentinels as a global in the config, wired up the main entry point to start looking like a real and useful program!