Add a debugging function and some debug messages.

I see no other quick way.
Remove a sizelimit.

It shows up on my machine and I have no idea why it is triggered.

This won't get into production, of course.