[Qt] make most Windows appear centered on main GUI

- remove default value for parent variable in dialogs, which should appear
  centered over main GUI and pass appropriate value
- add some addition NULL pointer checks
Merge pull request #3255

309f796 [Qt] make most Windows appear centered on main GUI (Philip Kaufmann)