changes to textImporter error handling

Finally fixed my git branch crap, so now this works hopefully.