Fixed timeout causing lights to turn off while people are still inside, also allowed distance sensor to trigger lights even in cooldown mode