Refactoring + some additional fixes in monitoring channels of MLP.