fixed delete Job at close Application;
some fixes;