Handle execution errors nicely, moved toolbar creation to its own function.
Automatically edit the category just added.
Cleanup multi-select notes.