finished adding conversion to csv, fixed nbsp issues