cleanup
starting to replace arrays with vectors
proceeding with replacing arrays with vector
every array is a Vector now, no more mallocs/frees