Reorganized refreshConfig(...) --> into an MLog object, to parallele the Java api, --> using Options rather than potentially null args, to be more Scala-ish.