New frontend editing

work in progress - do not merge yet