Changed ProcessManager.endAll() for loop to no longer indirectly call array.iterator().