restruct bg jobs and support signal crt+z