errorSocket communicates errors between client and server; tidied-up catalog and isolated catalog import/export methods