Simplified handling of empty return strings in zSetSurfaceData().