Simplification of SW PWM code.
Fixed settings of intensity on unibeam and repulsors.