Applies a set of improvements to StimulusGroup

This mainly concerns problems introduced with the new binary
mode and the background rate setting, which are now fixed.