whitespace/styling fixes
remove unused variable
set export title to query or default
refactor to reduce complexity
Merge pull request #1 from opf/hotfix/fix_wp_csv_export

Hotfix/fix wp csv export