Changed 'timestamps_ptr' to 'tmax', as this stream field was renamed in a previous version of onl_newstream.m.