Bugfixes. Got dirlist working.