Try to silent all error dialogs on exit
Fix(hack) the problem that slave processes sometimes do not correctly exit
Fix logic for checking frame count in ThunkedInterleave