Revised SCO/RCO to fix escaping, improve speed.
Fix return of pointer to static buffer in RCO causing dealloc crash.