I haven't used scallion in a long time, but back when I did I made these changes and I thought I should submit them now. The shebang fix is pretty self-explanatory. The other fix is for when the exponent index doesn't match. I'm not sure if I ever encountered this edge case or if I just noticed the issue in the code. It's clearly meant to just skip over the key in that case, but the break statement actually breaks out of the main loop, ending that thread prematurely.
I haven't used scallion in a long time, but back when I did I made these changes and I thought I should submit them now. The shebang fix is pretty self-explanatory. The other fix is for when the exponent index doesn't match. I'm not sure if I ever encountered this edge case or if I just noticed the issue in the code. It's clearly meant to just skip over the key in that case, but the break statement actually breaks out of the main loop, ending that thread prematurely.