Small refactoring in dahuapp.editor.

The callbacks are no longer added to all the thumbnails every
time a thumbnail is added, but they are only added on the new
thumbnail.