Added empty directory error message. Will probably be replaced with bootstrap alert (caution).