Some more updates
Added MCJavaStringToStringRef method and used it