Convert to using pselect(), more portable than ppoll().
Ah, THAT's why the sig atomic thing didn't work.
Rename a bunch of stuff.
Move the "shortest unique string" comments to where they will do the most good.
Move the last of the boxes specific stuff out of handle_keys(), and some clean up of CSI variables.