lcd daemon refactor