More compatibility with other shells and soem improvements.

Take into account if one uses this with Bash, Zsh or Ksh. At least Zsh
needs a minor tweaking (one must comment/uncomment a line inside the
script).

Introduce filters that filter the URL list.