Fixed bug that froze jobs in case of large output/error messages in local submission.
Added option to list jobs ids only (useful to automatically add dependencies).