she spun around , her thoughts wild as her thumping heart-expecting to find herself stranded up here , cursing herself for not wedging the brick better-but then she saw the figure by the door , and all this melted away .