Somewhat improved processing of csv. Data quality is still an issue