General cleanup
Switched from Vector to ArrayList
Performance check for deep/shallow array copying