Supported optional states in WindowStateManager.
Fixed a bug in ProgressDialog when OverwriteDialog showing too quickly.
Fixed icon of extracted file in OverwriteDialog.