- Change printf() calls to uprintf() for sigreturn(). - Normalize the messages to include both pid and thread name.