17...Qxc3 was the best move here. It would have forced a queen swap, since the black queen forks the bishop on a3 and the white queen on d3. After the queens are gone, you are up a full piece, even...