Move start condition from ReadInBlocks to ReadBlockFromTask. Fix ram buffer position in DoTask().