Fixes for SLURM integration: use reasonable memory choices for controller instead of passed engine memory usage. Ensure timelimit is properly escaped and avoid use of 'unlimited' time limits. Handle cases where queue and possible accounts do not intersect.