QC6B Initialization

Includes the Start of QC6B. Focus is scoping, functions with parameters,
and absence of global variables.