Added another logging method (SDStack()) to NSLog the backtrace when in debug mode.