Smarter parsing of extractions in frontend_main.m added frontend_collate_idxs.m