Fixes to make resizing the window mostly work. There's still no real text wrapping or un-wrapping