Fixed indexing issues in list that would cause the pointer to go beyond the end of the list.
Started work on error code cleanup, but going to finish on PC...