Added logging to help squash some of the decryption bugs.

Hopefully this will help better explain the cause of the
java.lang.NegativeArraySizeException crashes.