MOSYNC-EXT: Better out parameter handling. (Still not finished strings, array lengths and some more)