Adds option to output merge results to log file

Also converted main task to tabs instead of spaces...