(MathLink) Correct handling of Messages generated by slave kernel
When working through MathLink with slave kernel I have a problem with correct parsing TextPacket s. In particular when such packet corresponds to a Message generated by the slave kernel I do not understand how to handle it correctly at all. I need such Messages to be printed in the evaluation notebook as if they were generated by master kernel (but with some mark to make clear that it comes from the slave). And I need to separate TextPacket s corresponding to Message s from just to Print[] commands. The latter I need to parse correctly too, printing them in the evaluation notebook with a