Entirely fair comment. I know it's not fun, well explained or finished. Just wanted to upload what I had to date.
The error was due to trying to access an element in an array that didn't exist. I just did a little fix for that but my intention is to tinker with it over time outside of the jam too.
Thanks for taking a look.