Adding indentation settings to preference form

Adding indentation settings to preference form. Eg choice of tabs or spaces with 2, 4, or 8 spaces display in UI.