Mac OS X gui: checkForUpdate may not run on first thread. Hence alloc an autorelease pool in checkForUpdate.