Generalize core marking.
Remove memory detectionrand variables, and WorkingDirPriv stuff.
Support both ibrun and ssh task launching.