Changed logfile name, minor fixes