Re-build download CSV support, integrate with UI.