Add tmux style diagnostics.

Suggested by mpi@
Remove unused parameters in end_msg.
Remove all diagnostics warnings.