added ofcolor param, to OSX client too. fixed a few xml bugs