I'm going to just keep appending onto this thread... thinking outloud
Anyway it seems to always quit when...
y*xsize/4+x = 246272
*continues digging*
*more*
Okay I found some more information. I did a generic try/catch around the block, but I don't know what TYPE of exception is thrown so I have to just catch all.
However, I did print out the current x and y values after the exception.
x=64 and y=481
Now what how those values are being used, I don't know. Nor can I guess why this situation throws an exception. I see no out-of-bounds arrayness happening.
-Buggi