Now, the window() is set to the curr coordinates. Use generic functions for implicit and relative movement. Make the scrolling region behave much more like the DEC source.