ENTIRELY rewrote almost every class to get rid of index-based pointers, replacing them with real pointers.  Fucking hell, that was brutal.