Started work on line clearing, using this commit as a restore point before I try something funky
Experimented, failed. Added some stuff, almost done with line clear