refactorings and small changes to support making estab data views editable or read only