Disable play/delete if the last character was removed

Checking current index alone is not enough since it seems to be 0 if all
elements of the list are removed.

Fixes #17.
Allow editing of attributes

This sends a lot of messages at the moment and only completes half
of the action if an error occurs. But it works without protocol
changes for now.

Closes #20.