Tidied up a debug message that was being shown to the user.