changes to dirlist

fixed the file type associations not working right and also grabs
template from my site (change at will, its not hard, line 204)