Add CSV download feature.
Fix survey build/initialization.
Remove debug spew.