Set extendRow even when active_line doesn't change

After shift-clicking on the grid the row to extend from doesn't equal
the active line, and clicking on the current active line to deselect all
other lines need to update the extend row.
Make deleterange not do totally incorrect things
Make lines_to_delete a vector