Resurrected and enhanced the settings dialog