Hard code the memory options for now.
Fix heartbeating and job termination output.