Bug fixed with dirlisting if started from non-IDE env; email sending and css