In-progress browser for a directory of text files
vx = function(sx)
	-- turn surface coordinates into viewport coordinates
	return scale(sx-Viewport.x)
end