Tabs to spaces

I hope this doesn't cause any bugs. I did a full reinstall on my system and everything worked OK.