New debugging functions: SystemStats::getStackBacktrace() and setApplicationCrashHandler().