rainbarf segment support

Closes issue #134. Looks like this:

![screenshot](http://i.imgur.com/mxtz72V.png)