Add some formats for pane bounds.
Handle the top bit of xterm(1)-style modifier keys, based on a diff from
Balazs Kezes.