Moved error display in client.c