Added unicode/ascii loading to the DataRef.
More fixes