Made an important bugfix.

Previously, a client would be deleted by destroy() even if it was not
actually deleted (such as the client that ignores a WM_DELETE_WINDOW
request. Now, the client will only be deleted if the window is actually
gone.