Remove LED code and thread sleeps