Fix version check.
Fix a crash bug in the config editor.