Logger to file added. Fixed receiving in MPP.