Added some context to the exception message.
Added a little info in an existing log message that shows how long the up-to-date check took.
Tuned the log messages Gradle emits at info level when running in --parallel. Refactored the code a bit.