Added a Demultiplexer, not sure if it is right though.
Fixed PaintingSwitch still being able to switch once even out of range.
Merge remote-tracking branch 'sk89q/master'