Created attachment 5482 Fix for null dereference. Fix two uninitialized variables in main.c, one in xfce-settings-editor-dialog.c and a null dereference in keyboard-layout.c. Patches attached
Created attachment 5483 Fix uninitialized variable in main.c
Thanks for the patches. Applied to master.