that scene reminded me of when the 10th doctor was stuck in the tram thing where they said outside was inhabitable but then there were the knocks and then sky got possessed.
its quite obvious that clara has a child or children with mr pink because he gave her a family heirloom and i think the reason they went to the old barn was because she was split into the doctors timeline.