Rewrote TargetCollection.java to use a Vector instead of an array.

This would eliminate cases in which the collection of targets could hold
objects of value null.