Corrected pointer error in insertRecordNode() function that led to dropout of almost half records. All records end up in the record structure correctly now.