Mostly fixed ugly flickering screens, and cursor updates not being sent when the screen isn't updated but the cursor is.