the window appears to be over-retained. Does the extra call to -retain here fix a crash? If so there might be something funky going on. Otherwise it appears to me to be a leak (haven't tested/instrumented this yet)