Reset window delegate of theme document in -dealloc to prevent crash
when the document is closed.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/thematic/trunk@36498 72102866-910b-0410-8b05-ffd578937521