Add ref_ptr for GtkOffscreenWindow
Auto-adjust parameters for the new line_at* properties

Best effort is nicer than raising errors.
Keep track of scrolling in effect for buffers

I.e. keep track of what line is the currently first showing
line. Makes things such as buffer switching much more
pleasant since the other is not unexpectedly scrolled between
switches. Saved in the session as well of course.