Fixed compiling on 10.9.
Added help info about the log files.
Fixed potential crash.