Moved Macros including Logging to separate file
Fixed some log messages
Use built-in setWin
Added return values to InThreadSendRecv

This propagates to MPW_SendRecv, and to MPW_Cycle.
In the latter, error checking code should be added as well.