numerouse bug fixes. part way thru adding resource details to duty if resource depends on duty step.

Also major change with material and assembly groups to better cope with deletion.