xml export/import osc host and ports, improve initOsc()