Hunting down an obscure array overflow bug.
Works reasonably for now, I think I've hunted down the bug.