Fixed some SCM/scm_bits_t mixups and initialization problems.