Added security manager debugging in cardshifter-core.