message queue changes to use new struct for message passing through system control block.