Exporting distinct shapefiles for each question.
Fixing up export irregularities.
Fixed an output buffering issue. Code now works locally and on server.