improved way of removing nil delegates from NSPointerArray