Reverted the method of getting stream items back to the old way. Stream.php now returns an array of streamitems rather than just IDs which need to be queried individually. Need to work on a way of caching this output in a way that it can be added to as the session continues.