Clean up the way the message queue code is called on the inner processes, remove one function completely, rename other and add comments about what is called from where.  Handle deadlock detection in the same way that  message queues are handled so that the code can use the same function to read both of them.
Clean up the way the message queue code is called on the inner processes,
remove one function completely, rename other and add comments about what
is called from where.  Handle deadlock detection in the same way that 
message queues are handled so that the code can use the same function
to read both of them.

ashleypittman/padb,ashleypittman/padb,ashleypittman/padb