Preferences: Prevent opening more than one window
Use open() instead of exec() in all dialogs

Avoid blocking exec().

Closes #1515