Use foreach, SpceUtil.wipe and generics

Signed-off-by: Robert Demski <drdemsey@gmail.com>
Convert Thread[] to List<Thread>

Signed-off-by: Robert Demski <drdemsey@gmail.com>