Various bugfixes:

* Empty node text inputs now get focus on creation.
* Don't save nodes while they are being edited.
* Correct management/reuse of trace IDs.