SD inspectors find flaws in state rail lines, including on..