More work on API, plus example use with...

HandsOnTable javascript component.
Also fixed issues with delete handling.