set tmm to avoid 24.4 weirdness
define stuff to insert/delete prev/next lines
move swbuff stuff up
use 24.4 hotness