there are no modes.

the 
```
if len(self.buf) > 0:
                    line = self.buf[0]
```
Was there before.

my only effective change is 

```
                elif (header[0] == hr) and (level == 0) and (header[0] > 0):
                     line = self._get_header()
```