fixing diagnostics to work with new regime
working diagnostics, some docs on sedmodel, and moar lines