handle more comments in namelists, empty namelists, non-existent namelists
simplify tests as 'gets' and 'sets'