Fixes bug where the SettingsForm crashes when the exefile path is invalid