Redo logging.

Use SLT_Debug for purely debugging lines, so it can be
disabled/filtered if needed.

Leaving them in for now, until all the odd crashes reported on Github
have been sorted out.
Use -repeat instead of unrolling.
No use in running parse multiple times.
Test that a single cookie is ok.