The SPX50D is overdriving the shit out of the amps inputs and that's why you have feedback. Since you favor the SPX distortion try hooking it up this way:
guitar > Metalcore > NS-1 > Mesa input [clean channel] > Mesa effects send > SPX50D input > SPX L+R outputs > Mesa + 5150 effects returns [Left to one amp Right to the other]
OR
guitar > Metalcore > NS-1 > 5150 input > 5150 effects send > SPX50D input > SPX L+R outputs > Mesa + 5150 effects returns [Left to one amp Right to the other]