Friends added an American flag to its set and paid subtle tribute to the FDNY in episodes filmed in the weeks after 9/11.