Added error handling around the get_title function of the stream prototype. Occasionally stream_title will be passed in as undefined for some reason. Need to look into this.