Job #19766 BUG: Stop or reload all scripts crashes interface fixed, part 3

Same comments as before, but without the local files changes mistakenly
checked in.