struct Pos/Region
Added internal iterators to Buffer
Don't change directory when daemonising.
Pos helper methods.