Deadlocks fixed. New logging mechanism for node tester.