Modernize and uncruftify the cview index.mas a bit