Seeking help forgetting a love he pines over, Matt gets reprogrammed and the Dr. ends up with the gal