Conflict And Adaptation: Identifying The Markers of Cognitive Control In The Transition From Wakefulness to Sleep