Added SEC_DEBUG statemens.
Presentation worth, if we avoid some... troubling situations.