Clean up and clarifying renaming.
move screen code to own .c and .h
fix window resize logic.
You can also use your local clone with git send-email.