bugfixes: fixed file names and bad references at  old -data_unit- refere...

...nce to -state-