Remove unused  label
Improve allocation and cleanup of streamobjects.