Commit Briefs
optimisation: cache the top_line vline
instead of using the line_off + vline_nth, cache the current top line.
move load_default_keys to defaults.c
free ui.c from (strictly) non-ui code
keep the comment up-to-date
we don't use wscrl (even though redraw_window could gain some speed by calling wscrl in some contexts)