Frank's patient is Sofia's dummy. Fergus' comedy is Nick's horror story. Jim makes a decision to untangle his love triangle.