Minor changes on order.c and communication - tried to clean up in code.

Not compiled or tested .