move msg_buf to the job_event part 1
part 2
part 4
get_job_msgs
get rid of msg buf.