Added DaemonUi class from legacy 0.8 code.