Change default exception depth to 0 to make valid static initialization of main thread data structure