[Qt] make most Windows appear centered over main GUI

- remove default value for parent in dialogs, which should appear centered
  on main GUI and pass appropriate value
- add missing NULL pointer checks