Changed stream management function so that it returns individual JS objects for tracks.

The stream management function previously asynchronously "put!" an array of objects onto the list, so that the head of the list had to be retrieved manually on the other end.