Color errors

Fixed more array out of index for the color pallete
Add error checking for zip file opening