Simplify code and fix crash due to previous autorelease fix.

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