Added loading logic and loading limit logic to the stream section of the page.