Using dialog instead of window for preferences and set spacing to match elementary OS human interface guidelines.