Fixed download_dir. Create download log db.
Added message when no index selected.