Some errors in the ViewEdit code, but the base object layer changes are ok.