Correct spacing and title of preference window

https://bugzilla.gnome.org/show_bug.cgi?id=723828
Set preferences window modal and transient to main window.

Changed also the hint of the preference window to dialog else modal/transient
properties don't work.

https://bugzilla.gnome.org/show_bug.cgi?id=723828