Updated ledb.py to improvements from leds.py