Robustness improvement in sc-debug.R.
Merge branch 'master' of https://github.com/csimons/cai