glretrace: Don't write double newline unless message doesn't terminate with one.
cli,retrace: Use @nn notation for threads.