Minor formatting changes

Create global variable for logfile name.