iter4

document changes, diagram control code. No finished feature changes