Fixed bugs in settings dialog and exdiv display