Add menu item for resizing
Remove lazy resizing, since it doesn't seem to help
Fix comment
Change EAGAIN handling

I think I misunderstood the API. There should only be no more bytes to
read when the remote process exits.