Fixes to normalizing config values

- use MzConfig and MzFlag more because DRY