Added the envrionement variable of DISPLAY.
Enhanced to ignore *.log.