fixed up spelling mistakes in BackEndTemplate.g, added progLine as a
counter for which program line we are on