well you're playing against a computer that doesn't understand the position, black should simply disentangle his pieces, he can sacrifice almost everything he has and still win in this position, even if white is allowed to keep the queen. He can sacrifice a queen and a rook to this end, easily.
how I play the position as black is Ne7 followed by Bd6. if white plays Qh4, I can play nd4+ followed by nf5 and nd6, and my king is safe. and I can slowly, safely, extricate myself and win.