Known cave and gear alloc/free.
Save / load of duplicate cave and gear.
Used duplicate cave for features. It works more or less.
Fixed detect stairs / doors.
Commented out actual use of known features. It still remember them.
Merge pull request #363 from LostTemplar/duplicate

Duplicate cave and gear.