closes #152, many formatting fixes for csv export