Fix minor lcstate issues and polish ResourceLifecycleEvent