Update mlog.p? to current version

Many improvements, see commits for details