sim now outputs pongs to specified logfile if specified.

No idea if this works.