added debugging and some enhancements to the SecureSMS app