I think there are about 20 hidden resources left at this moment and a single building complex, possibly two.

Did you add corresponding descriptions in export_buildings.txt or did you just create a new on in EDB? If you haven't done the former, you need to do so or you'll keep getting a CTD.