Run Application when we really sure.

Fixes Exception if KSP select dialog is closed.
Fix default instance selection.
Merge pull request #164 from ROMB/Fixes_for_instance_selection

Fixes for instance selection