Changed LED logic so green is off when there's no lock