correct various warnings and CSV import/export
Merge pull request #10 from gwythaint/batch02jan14

correct various warnings and CSV import/export