Fixed the out of range vector error... which I had caused. Whoops.