Avoid deprecated margin-left GtkWidget property

Use margin-start instead.
Avoid xalign property in preferences dialog

Use halign on GtkWidget instead.