Send notification on ticket edit; misc refactorings