Use a local server (socket/pipe) instead of a full-blown tcp-server and use the server to keep only one instance of the application running. Closes #40