Added a new error function, and added delete button.
Allow deletion of nodes.

Closes #144