[#6] Split up __export_library_effects(), improved __export_library_geometries().