Fix code editing on buttons.
Add delete button.

Fixes #12.