Error out early if there is no app configured
Ignore errors on the cross-thread pipe. Fixes #246

The @notify pipe is used to give commands to the server running in
another thread. The server might be shutting down at the moment we send
it a command, thus it might have closed @notify, so we ignore errors.
Handle errors from the server better