Add watching for client messages so a window manager can close the app