Add CSV export to library, and noted some TODOs in main app.