adding Delete button (and resulting needed changes) to the crash dialog

added (or restored) the Delete button in crash dialog, and also modified the delete_crash function to remove the crash from DB and decrease the number of crashes of the associated node