Run TidyTabs after saving files + Add Preferences menu entry

Hi, 

I just added the auto run after save feature, clean some trailing spaces and add preference menu entry. 

Cheers,