Restore default directory. Fix encoding problem. Set title.
Handle resizing and mouse tracking.
Get some text up on the screen. Ignore font and style for now.
Mouse tracking and selection.