Add level as attribute of current_data

Not having level already added to current_data seemed to be breaking
things in 1d.  Line 421 caused this:
```
current_data.level = getattr(patch,'level',1)
```