Coloured logging. Timeouts. Task retries.

Signed-off-by: Mark Farrell <m4farrel@csclub.uwaterloo.ca>