Fixed various dirlist bugs.