code refactoring in psgrep
added sed to delete empty lines in dl list (it can lead to errors)
small fixes in batch-download script
fixes?
fixes again?