Table editing bit closer

Prototype going to have to stop once this is in, doesn't feel like it
can cope with more functionality. Will switch development to v1 branch
and PR in once complete