fixed NPE and minor docs changes
create parent dirs if needed
sort the generated listing
make parameter overwriteExistingListing work from commandline
removed duplicate log msg
minor changes