DHX improvements

Config option to auto-sync
Config option to auto-restart
Refactored and improved default unit selection