Fixed threading in logger.
Minor changes comparing gradle task methods.