LEDUtils modified. single threaded led control