added back odbc close
Not working - trying to speed up - current version doesn't work!
inconsequential
Some more edits
Added odbc connection closing and garbage collection
Not working - various things
Final version for now, taken out parallelization which seemed to cause errors, now running with straight for loop