Updated Copyright. Fixed end of stream in demand generation / hls mode. Removed extra console calls.