settings validation
Merge pull request #80 from thoemmi/validation

Validation in settings dialog