minor fixes and logging
better warning
makes csv work
alphabetical results