Quick fixes, added Cr, changed some comments, combined parametered readRecords into one function.