Clean up phantoms as you go
Make sure redraw of lines doesn't go outside borders