add functions to restore the state of a group of lights, add EmptyStackExceptions