Improved settings dialog