Use client fd not pointer.
Allow client to be NULL to make it work during ...
Use new prepare flags for copy-mode.
Use prep flags for rename- and respawn-window.
Use for prepare flags for choose-buffer and cho...
Use new prepare flags capture-pane.
Prep flags for paste-buffer.
Use prepare flags for swap-window.