Changes to OptionPane, OptionDialog and IdleManager.