multithreaded led handling for faster on/off switch. not done yet