Work on the boblight logic