moved buffer additional size to a const for easy change of its value
some fixes for clipping. gutter now doesn't paint over frame