dired not working as before WIP; minor tweaks