teckel:
Keep in mind that we're talking about a library that I wrote, so I probably have a better idea of what it's doing
What one person writes another one can understand.
teckel:
That's a fine and well educated guess, but not the cause of the problem in this case.
I'm grateful to you for writing this library, and since you know what the problem isn't, perhaps you can assist the OP with what the problem is.
I'll leave you to it. Thanks.