Yeah I can see how this would confuse you.David woke up in a limbo like world,instead of Cavius.David figured out if hellen is here too,then he's not dreaming,Because Hellen can intercept nightmares if they cause distress to the user.So that means david is not in a dream but in a different universe.I hope this makes sense...
