Tabs to spaces and fix for options being reset when doing reload.