Pulse sketch improvements, mode switch logic.

The pulse sketch now has a somewhat functional mode button. The pulse
function starts with no light and cycles to full and off again so no
full-time blending of colors. Improved commenting.