Implementing settings dialog. Necessary before a pull request makes sense.