Added reset button, and auto reset on node deletion.