Add monitor-settings.txt. Refactor.