By the mid-1980s, O’Hara was establishing herself as a screen presence. She appeared in Martin Scorsese’s offbeat black comedy “After Hours” (1985) and showcased her comic range in “Heartburn” (1986).