layout: Use an even number for the maximum master pane size

This way when the master width is master_max / 2, each window has equal
width.
config: Close stdin, stdout, and stderr before spawning child processes
Implement close_focused_window