Tidy up and comment
Syntax and radix
Merge branch 'master' into develop
Fix some gotchas
Start on PWM dimming, new state 'bed'