[Xymon] Patch for xymonclient-darwin.sh to fix numerous bugs