Carlton is experiencing the Hypnagogic Reverie, is usually experienced in the moments before sleep and often bring to mind issues of our everyday, fantasies, unconscious material and even free association of ideas, which leads us to create solutions to our problems or imagine positive events, or quite the contrary, although due to the state of drowsiness this is usually unrealistic.
I hope my answer can help you.