move dialog tweaks

refactor settings into application singleton.