Various minor style and spacing nits.
Wake up any clients waiting with the wait-for command when the server
exits.
Fix typo (paneas -> panes).