Restructure a bit. Add fd-based serial driver.
Simplify overflow flag calculation
Simplify display damage tracking