sc class library: PlusFreqScope - fix buffer allocation and usage (#767)