More working. Including a start at foreign key support in table editing.