Settings dialog now working.